package com.example.petshop.mapper;

import com.example.petshop.entity.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShopMapper {
    Shop getShopById(@Param("shopId") Integer shopId);

    void insert(Shop shop);

    void deleteById(Integer shopId);

    void updateShop(Shop shop);

    List<Shop> getAllShops();
}
